
        <div class="box box-primary">
            <!-- /.box-header -->
            <div class="box-body table-responsive no-padding">
                <notempty name="searchs">
                    <include file='./Common/Builder/search.html'/>
                </notempty>
                <notempty name="buttons">
                    <div class="btn-group" role="group">
                        <volist name="buttons" id="btn">
                            <if condition="$btn['type'] eq 'link'">
                                <a href="{$btn.url}" class="{$btn.class}">{$btn.title}</a>
                                <else/>
                                <button class="{$btn.class}" onclick="todo.ajaxForm('{$btn.form}','{$btn.url}')">
                                    {$btn.title}
                                </button>
                            </if>
                        </volist>
                    </div>
                </notempty>
                <form id="listForm">
                    <table class="table table-bordered table-striped table-hover">
                        <thead>
                        <tr role="row">
                            <volist name="columns" id="col">
                                <if condition="$col['name'] eq $dataKey">
                                    <th><input type="checkbox" class="checkCtrl" names="{$dataKey}"></th>
                                    <else/>
                                    <th>{$col.title}</th>
                                </if>
                            </volist>
                            <notempty name="operations">
                                <td>操作</td>
                            </notempty>
                        </tr>
                        </thead>
                        <tbody>
                        <volist name="list" id="row">
                            <tr>
                                <volist name="columns" id="col">
                                    <if condition="$col['name'] eq $dataKey">
                                        <td><input type="checkbox" name="{$dataKey}" names="{$dataKey}"
                                                   value="{$row[$col['name']]}"></td>
                                        <else/>
                                        <td><php> echo \Common\Service\FormatService::getInstance()->format($row, $col); </php></td>
                                    </if>
                                </volist>
                                <notempty name="operations">
                                    <td>
                                        <volist name="operations" id="op"><a class="{$op.class}"
                                                                             href="{$op.href}/id/{$row.id}">{$op.title}</a>
                                        </volist>
                                    </td>
                                </notempty>
                            </tr>
                        </volist>
                        </tbody>
                    </table>

                </form>
            </div>
            <div class="box-footer clearfix">
                <ul class="pagination pagination-sm no-margin pull-right">
                    {$pages}
                </ul>
            </div>
        </div>